home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / patches / ip20t21a.lha / IFX20to21a_Patch / Patches2.lha / Rexx / AutoFX / Load_Region.ifx.pre < prev    next >
Text File  |  1995-02-13  |  574b  |  31 lines

  1. /*
  2.  * Load_Region.ifx.pre
  3.  * Written by Thomas Krehbiel
  4.  *
  5.  * Load a region mask.
  6.  *
  7.  * Inputs:
  8.  *    Word(Arg(1),1) = Sequence number
  9.  *    Word(Arg(1),2) = Total number of frames (N)
  10.  *
  11.  * Returns:
  12.  *    0 if successful, non-zero on failure
  13.  *
  14.  */
  15.  
  16. OPTIONS RESULTS
  17.  
  18. base  = 'Autofx_LoadRegion_'
  19.  
  20. reqdir  = GETCLIP(base||'Path')
  21. reqfile = GETCLIP(base||'File')
  22.  
  23. RequestFile '"Select Region Mask:"' '"'reqdir'"' '"'reqfile'"'
  24. IF rc ~= 0 THEN EXIT rc
  25.  
  26. CALL SETCLIP(base||'Name', result)
  27. CALL SETCLIP(base||'Path', filereq.path)
  28. CALL SETCLIP(base||'File', filereq.file)
  29.  
  30. EXIT
  31.